Finding the unloaded geometry

Finding the unloaded geometry#

from fenics_plotly import plot
import pulse
geometry = pulse.HeartGeometry.from_file(pulse.mesh_paths["simple_ellipsoid"])
# geometry = pulse.geometries.prolate_ellipsoid_geometry(mesh_size_factor=3.0)
material = pulse.NeoHookean()
# material = pulse.Guccione()
2025-06-06 09:39:32,714 [566] INFO     pulse.geometry_utils: 
Load mesh from h5
# Parameter for the cardiac boundary conditions
bcs_parameters = pulse.MechanicsProblem.default_bcs_parameters()
bcs_parameters["base_spring"] = 1.0
bcs_parameters["base_bc"] = "fix_x"
# Create the problem
problem = pulse.MechanicsProblem(geometry, material, bcs_parameters=bcs_parameters)
# Suppose geometry is loaded with a pressure of 1 kPa
# and create the unloader
unloader = pulse.FixedPointUnloader(problem=problem, pressure=3.0)
2025-06-06 09:39:32,845 [566] INFO     pulse.unloader: 

-------------------------- Unloading options ---------------------------

	Target pressure: 3.0
	maxiter = 10
	tolerance = 0.0001
	regenerate_fibers (serial only)= False

------------------------------------------------------------------------
# Unload the geometry
unloader.unload()
2025-06-06 09:39:32,850 [566] INFO     pulse.unloader: ------------------------------------------------------------------------
2025-06-06 09:39:32,850 [566] INFO     pulse.unloader: ----------------------------Start unloading-----------------------------
2025-06-06 09:39:32,851 [566] INFO     pulse.unloader: ------------------------------------------------------------------------
2025-06-06 09:39:32,880 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:39:32,880 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:39:32,881 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:39:32,881 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:39:33,054 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  1	full
2025-06-06 09:39:33,823 [566] INFO     pulse.unloader: 
LV Volume of original geometry = 0.749 ml
2025-06-06 09:39:33,839 [566] INFO     pulse.unloader: 
Do an intial solve
2025-06-06 09:39:33,929 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:39:33,930 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:39:33,930 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:39:33,931 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:39:33,931 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:39:34,448 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2025-06-06 09:39:34,533 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
2025-06-06 09:39:34,744 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2025-06-06 09:40:13,800 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:40:13,801 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:40:13,801 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:40:13,802 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:40:13,803 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:40:13,941 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2025-06-06 09:40:14,017 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2025-06-06 09:40:14,209 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2025-06-06 09:40:17,705 [566] INFO     pulse.unloader: 
Iteration: 0
2025-06-06 09:40:21,196 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2025-06-06 09:40:21,238 [566] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2025-06-06 09:40:25,329 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:40:25,333 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2025-06-06 09:40:25,377 [566] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2025-06-06 09:40:25,751 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:40:25,794 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:40:25,795 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:40:25,837 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:40:25,839 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:40:25,877 [566] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.568 ml
2025-06-06 09:40:26,029 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:40:26,030 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:40:26,031 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:40:26,031 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:40:26,032 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:40:26,326 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2025-06-06 09:40:26,402 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
2025-06-06 09:40:26,610 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2025-06-06 09:41:05,851 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:41:05,851 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:41:05,852 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:41:05,852 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:41:05,853 [566] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2025-06-06 09:41:05,992 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2025-06-06 09:41:06,068 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2025-06-06 09:41:06,257 [566] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2025-06-06 09:41:09,770 [566] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.568 ml
2025-06-06 09:41:09,943 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:09,944 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:09,987 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:09,988 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:10,032 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:10,034 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:10,072 [566] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.717 ml
2025-06-06 09:41:10,084 [566] INFO     pulse.unloader: 
Residual:	0.011328623428538017
2025-06-06 09:41:10,085 [566] INFO     pulse.unloader: 
Iteration: 1
2025-06-06 09:41:10,259 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:10,260 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:10,302 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:10,304 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:10,345 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:10,346 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:10,385 [566] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.596 ml
2025-06-06 09:41:13,470 [566] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.596 ml
2025-06-06 09:41:13,643 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:13,645 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:13,687 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:13,688 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:13,730 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:13,731 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:13,770 [566] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.754 ml
2025-06-06 09:41:13,782 [566] INFO     pulse.unloader: 
Residual:	0.001698010214540199
2025-06-06 09:41:13,782 [566] INFO     pulse.unloader: 
Iteration: 2
2025-06-06 09:41:13,955 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:13,957 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:14,000 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:14,001 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:14,043 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:14,044 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:14,082 [566] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.592 ml
2025-06-06 09:41:17,174 [566] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.592 ml
2025-06-06 09:41:17,347 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,348 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,391 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,392 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,434 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,435 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,475 [566] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.749 ml
2025-06-06 09:41:17,487 [566] INFO     pulse.unloader: 
Residual:	0.0002592876931300245
2025-06-06 09:41:17,487 [566] INFO     pulse.unloader: 
Iteration: 3
2025-06-06 09:41:17,660 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,661 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,703 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,705 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,746 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,747 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:17,785 [566] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.593 ml
2025-06-06 09:41:20,870 [566] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.593 ml
2025-06-06 09:41:21,043 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,044 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,086 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,087 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,129 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,131 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,169 [566] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.750 ml
2025-06-06 09:41:21,181 [566] INFO     pulse.unloader: 
Residual:	3.931304295917144e-05
2025-06-06 09:41:21,182 [566] INFO     pulse.unloader: ########################################################################
Unloading suceeding
# Get the unloaded geometry
unloaded_geometry = unloader.unloaded_geometry
2025-06-06 09:41:21,360 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,361 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,403 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,405 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,447 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2025-06-06 09:41:21,448 [566] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
fig = plot(geometry.mesh, opacity=0.0, show=False)
fig.add_plot(plot(unloaded_geometry.mesh, color="red", show=False))
fig.show()